/*
 * Copyright (c) 2018 maoyan.com
 * All rights reserved.
 *
 */
package com.darren.euc.repository;

import com.darren.euc.entity.Client;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Set;

/**
 * 在这里编写类的功能描述
 *
 * @author fangwenhao
 * @created 2018/3/13
 */
public interface ClientRepository extends JpaRepository<Client,Integer>{

    List<Client> findByCompanyNameLike(String name);

    List<Client> findByIdIn(Set<Integer> ids);

}
